multiselection: Rewrite the select_callback implementation
authorMatthias Clasen <mclasen@redhat.com>
Sat, 6 Jun 2020 15:21:29 +0000 (11:21 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 6 Jun 2020 15:22:48 +0000 (11:22 -0400)
commit3e6e247e56b1ca91a6e5b7f3dd3666cfcfcfbe28
treea4f8bc9595adba4c60d7764d5bcc9a8b2a9490e6
parent27ce68b74a0858447c8b86f63c4994f4666d9fef
multiselection: Rewrite the select_callback implementation

Use a for loop to make this more obvious, and add some
assertions that the callback is behaving properly.
gtk/gtkmultiselection.c